package com.alinesno.infra.base.search.entity;

import com.alinesno.infra.common.facade.mapper.entity.InfraBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据集客户端实体类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("dataset_client")
@TableComment("数据集客户端,保存客户端Api接口")
public class DatasetClientEntity extends InfraBaseEntity {

    /**
     * 客户端名称
     */
    @TableField
    @Column(comment = "客户端名称")
    private String clientName;

    /**
     * 接口密钥
     */
    @TableField
    @Column(comment = "接口密钥")
    private String apiKey;

    /**
     * 密钥状态（0-禁用，1-启用）
     */
    @TableField
    @Column(comment = "密钥状态")
    private Integer keyStatus;

    /**
     * 备注信息
     */
    @TableField
    @Column(comment = "备注信息")
    private String remark;

}